/*
 * app_file_packet_api.h
 *
 *  Created on: 2023年8月25日
 *      Author: HXF
 */

#ifndef DS_APP_INS_APP_FILE_PACKET_API_H_
#define DS_APP_INS_APP_FILE_PACKET_API_H_

#include "app_filetransport_def.h"
#include "app_filetransport_api_subsidiary.h"

int production_broadcast_notify(void);
int production_qrfh_notify(void);
int production_consult_request(unsigned char rfmid);
int production_check_request(unsigned char *ptr_netpkt, int *payload_len);
int production_page_filetransport(unsigned char *ptr_netpkt, int *len);

int consumption_request(void);
int consumption_confirm(void);
int consumption_check_response(void);

int consumption_deal_sync_broadcast(const unsigned char *keyvalue, int len);
int consumption_deal_qrfh2(unsigned char qrfh2);

#endif /* DS_APP_INS_APP_FILE_PACKET_API_H_ */
